<?php
/**
 * 用户表操作
 * User: Administrator
 * Date: 2019/1/21
 * Time: 16:55
 */

namespace Common\Model;


class UserModel extends BaseModel
{

    protected $_validate=array(
        array('truename','require','名字必须','','',2),
        array('id_card','require','身份证号码必须','','',2),
        array('province','require','省市必须','','',2),
        array('address','require','居住地必须','','',2),
    );

      public function __construct($table,$pre='USER')
      {
          parent::__construct($table,$pre );
      }




}